package com.hc.testLog;

import com.hc.R;
import com.hc.R.layout;
import com.hc.R.menu;
import com.hc.activity.util.ActivityApplicationUtil;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.Window;
import android.widget.TextView;

public class ShowLogFileActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// 当前的activity加入到关闭集合中
		ActivityApplicationUtil.getInstance().addActivity(this);
		// 设置没有title
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_show_log_file);

		TestLogFileBean bean = getIntent().getParcelableExtra("bean");
	
		
		TextView showLogTextView =  (TextView) findViewById(R.id.showLogTextView);
		showLogTextView.setText(bean.content);
		TextView showTestLogFileName =  (TextView) findViewById(R.id.showTestLogFileName);
		showTestLogFileName.setText(bean.fileName);
	}



}
